package com.x.erp.model;

import java.util.Date;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

/**
 * 车辆认证证书信息
 */
@MappingTable(tableName = "ERP_CAR_AUTH")
public class CarAuth extends BaseObject {

	private static final long serialVersionUID = -5038262298418777628L;

	@MappingColumn(columnName = "AUTH_ID", columnPk = true, columnLength = 32)
	private String authId;// 认证Id

	@MappingColumn(columnName = "AUTH_NO")
	private String authNo;// 认证证书编号

	@MappingColumn(columnName = "AUTH_COMPANY")
	private String authCompany;// 认证公司

	@MappingColumn(columnName = "DETECTION_ID")
	private String detectionId;// 检测单id

	@MappingTable(tableName = "ERP_DETECTION")
	private Detection detection;// 检测单信息

	@MappingColumn(columnName = "MARKET_ID")
	private String marketId;// 市场id

	@MappingColumn(columnName = "SHOP_ID")
	private String shopId;// 商铺id

	@MappingColumn(columnName = "CAR_ID")
	private String carId;// 车辆id
	
	@MappingTable(tableName = "ERP_CAR")
	private Car car;// 车辆信息

	@MappingColumn(columnName = "CREATE_USER_ID")
	private String createUserId;// 创建人id

	@MappingColumn(columnName = "AUTH_CREATE_TIME")
	private Date authCreateTime;// 创建时间

	public String getAuthId() {
		return authId;
	}

	public void setAuthId(String authId) {
		this.authId = authId;
	}

	public String getAuthNo() {
		return authNo;
	}

	public void setAuthNo(String authNo) {
		this.authNo = authNo;
	}

	public String getAuthCompany() {
		return authCompany;
	}

	public void setAuthCompany(String authCompany) {
		this.authCompany = authCompany;
	}

	public String getDetectionId() {
		return detectionId;
	}

	public void setDetectionId(String detectionId) {
		this.detectionId = detectionId;
	}

	public Detection getDetection() {
		return detection;
	}

	public void setDetection(Detection detection) {
		this.detection = detection;
	}

	public String getMarketId() {
		return marketId;
	}

	public void setMarketId(String marketId) {
		this.marketId = marketId;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getCarId() {
		return carId;
	}

	public void setCarId(String carId) {
		this.carId = carId;
	}

	public Car getCar() {
		return car;
	}

	public void setCar(Car car) {
		this.car = car;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public Date getAuthCreateTime() {
		return authCreateTime;
	}

	public void setAuthCreateTime(Date authCreateTime) {
		this.authCreateTime = authCreateTime;
	}
}
